{% extends "base.html" %}

{% block BaseBrowserTitle %}
Wiki Page List
{% endblock %}

{% block BasePageTitle %}
    Wiki Page List - {{ number_wikis }} wikis total
{% endblock %}

{% block BasePageMenu %}
    <tr >
        <td colspan="2">
            <ul class="navBar">
                <li class="navButton"><input type="button" value="New Page" onclick="EditPage()"/></li>
            </ul>
        </td>
    </tr>
{% endblock %}

{% block BaseBody %}
Wiki List
<table class="base" >
    <!-- MSTableType="layout" -->
    <tr>
        <th><b>&nbsp;WikiTitle</b></th>
        <th><b>&nbsp;Title</b></th>
        <th><b>&nbsp;Version</b></th>
        <th><b>&nbsp;Last Author</b></th>
        <th><b>&nbsp;Last Edit Date</b></th>
    </tr>
    {% for wiki in wiki_list %}
        <tr>
            <td>&nbsp;<a href="/wikiview/{{ wiki.wiki_title }}">{{ wiki.wiki_title }}</a></td>
            <td>&nbsp;{{ wiki.title }}</td>
            <td>&nbsp;{{ wiki.version }}</td>
            <td>&nbsp;{{ wiki.nickname }} - {{ wiki.email }}</td>
            <td>&nbsp;{{ wiki.date }}</td>
        </tr>
    {% endfor %}
</table>
{% endblock %}
